<style scoped src="./index.scss" lang="scss" rel="stylesheet/scss"></style>
<template src="./index.html"></template>
<script>
  import basicSettingsBox from "../basicSettings/index.vue";
  import otherSettingsBox from "../otherSettings/index.vue";
  import shareBox from "../share/index.vue";

export default {
  mixins: [Vue.prototype.$vFN.Mixins.Base],
  components: {
    basicSettingsBox,
    otherSettingsBox,
    shareBox,
  },
  data() {
    return {
      appWindow: window,

      activeName: "", // Tabs 切换
    };
  },
  methods: {
    
    // 切换 Tabs 事件
    tabClick() {
      this.$router.push(
        this.$vFN.Tools.toUrl({
          path: "./storeInfo",
          query: {
            type: this.activeName,
          },
        })
      );
    },

    async init() {
      if (this.$route.query.type) {
        this.activeName = this.$route.query.type;
      } else {
        this.activeName = "basicSettings";
      }
    },

  },
  mounted() {
    this.init();
    this.$nextTick(function() {});
  },
};
</script>
